/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entidade.bd;

import conexao.ConexaoSingleton;
import conexao.DAOException;
import javax.persistence.EntityManager;

public class EntidadeDAO {

    private EntityManager conn;

    public EntidadeDAO() throws DAOException{
        try{
            conn= ConexaoSingleton.getConexao();
        }catch (Exception ex){
            throw new DAOException("Sem conexão comm a Base de Dados", ex);
        }
    }

}
